package com.ruoyi.personnel.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class Personnel extends BaseEntity {

    private int id;

    //排序
    private int sort;

    //品管师（名称）
    private String name;

    //工号
    private String jobNo;

    //籍贯
    private String nativePlace;

    //年薪
    private double yearlySalary;

    //编号
    private String no;

    //头像
    private String avatarUrl;

    //职位id
    private int jobId;

    //职位
    private Job job;

    //备注
    private String remark;

    //制程备注
    private String processRemark;

    //属性（是否隐藏）
    private int attribute;

    private Date updateTime;

    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public double getYearlySalary() {
        return yearlySalary;
    }

    public void setYearlySalary(double yearlySalary) {
        this.yearlySalary = yearlySalary;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public int getJobId() {
        return jobId;
    }

    public void setJobId(int jobId) {
        this.jobId = jobId;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProcessRemark() {
        return processRemark;
    }

    public void setProcessRemark(String processRemark) {
        this.processRemark = processRemark;
    }

    public int getAttribute() {
        return attribute;
    }

    public void setAttribute(int attribute) {
        this.attribute = attribute;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Personnel{" +
                "id=" + id +
                ", sort=" + sort +
                ", name='" + name + '\'' +
                ", jobNo='" + jobNo + '\'' +
                ", nativePlace='" + nativePlace + '\'' +
                ", yearlySalary=" + yearlySalary +
                ", no='" + no + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", jobId=" + jobId +
                ", job=" + job +
                ", remark='" + remark + '\'' +
                ", processRemark='" + processRemark + '\'' +
                ", attribute=" + attribute +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                '}';
    }
}
